<include file="../Public/header_list" />


<div class="dta_tit">
<div class="dta_tit_b"></div>
<div class="userPic"><img align="absmiddle"  src="{$profile['face']}" alt="头像"/></div>
<div class="dta_tit_f"> {$profile['uid']|getUserName}
  <php>if(!$is_owner) {</php>
<span class="list_z"> 
<php>if($profile['is_followed']=='unfollow'){</php>
<a  class="cont_btn_2"  href="{:U('w3g/Index/doFollow',array('from'=>'weibo','type'=>'follow','user_id'=>$profile['uid']))}">+关注</a>
<php>}else {</php>
<a  class="cont_btn_2" href="{:U('w3g/Index/doFollow',array('from'=>'weibo','type'=>'unfollow','user_id'=>$profile['uid']))}">取消关注</a>
<php>}</php>
</span>
 <php>}</php>
</div>
</div>


<include file="../Public/userlist" />
<div>
    <php>
        $has_pre   = $page > 1;
        $has_after = count($weibolist) >= $item_count;
    </php>
    <php>if($has_pre) {</php>
    <php>$url = U('w3g/Index/'.ACTION_NAME,array('page'=>$page-1));</php>
    <p class="pages"><a class="" href="<php>echo $url;</php>" data-icon="arrow-l" data-role="button">上一页</a></p>
    <php>}</php> 
    <php>if($has_after) {</php>
    <php>$url = U('w3g/Index/'.ACTION_NAME,array('page'=>$page+1));</php>
    <p class="pages" style="margin-bottom:5px;"><a href="<php>echo $url;</php>" data-icon="arrow-r" data-role="button">下一页</a></p>
    <php>}</php>
</div>

<include file="../Public/footer" />
